<style type="text/css">
    .center{text-align:center}
</style>
<body>
<div class="bjy-admin-nav">
    <i class="fa fa-home"></i>首页 
    &gt;
    商品管理
    &gt;
    商品添加
</div>
<ul id="myTab" class="nav nav-tabs">
    <li class="active">
         <a href="">门店添加</a>
    </li>
</ul>
<form action="<{:url('storesAdd')}>" method="post" enctype="multipart/form-data" >
<table class="table table-striped table-bordered table-hover table-condensed center">
    <tr>
        <th class="center" style="line-height:30px;width: 20%">门店名</th>
        <td class="center" colspan="6" ><input maxlength="30" type="text" class="form-control" name="storeName" placeholder="商品名,最多30个字" value="" ></td>
    </tr>
    <tr>
        <th class="center" style="line-height:30px;">门店地址</th>
        <td class="center" colspan="6"><input  type="text" class="form-control" name="storeAddress" placeholder="商品单价" value=""  ></td>
    </tr>
    <tr>
        <th class="center" style="line-height:30px;">联系方式</th>
        <td class="center" colspan="6"><input  type="text" class="form-control" name="storeTel" placeholder="商品规格:列入(元\kg)" value="" ></td>
    </tr>
    <tr>
        <th class="center" style="line-height:30px;">开门时间</th>
        <td class="center" colspan="6"><input  type="time" class="form-control" name="storeStartTime" placeholder="商品规格:列入(元\kg)" value="" ></td>
    </tr>
    <tr>
        <th class="center" style="line-height:30px;">关门时间</th>
        <td class="center" colspan="6"><input  type="time" class="form-control" name="storeEndTime" placeholder="商品规格:列入(元\kg)" value="" ></td>
    </tr>    
    <tr>
        <th class="center" style="line-height:30px;">门店介绍</th>
        <td class="center" colspan="6"><input  type="text" class="form-control" name="storeMc" placeholder="商品规格:列入(元\kg)" value="" ></td>
    </tr>
    <tr>
        <th class="center" style="line-height:30px;">展示图片</th>
        <td class="center" >
            <div>选择主图:</div>
            <input type="file" class="form-control" name="Photo1" placeholder="展示图片" value=""  >
        </td>
        <td class="center" >
            <div>选择图片:</div>
            <input type="file" class="form-control" name="Photo2" placeholder="展示图片" value=""  >
        </td>
        <td class="center" >
            <div>选择图片:</div>
            <input type="file" class="form-control" name="Photo3" placeholder="展示图片" value=""  >
        </td>
        <td class="center" >
            <div>选择图片:</div>
            <input type="file" class="form-control" name="Photo4" placeholder="展示图片" value=""  >
        </td>
        <td class="center" >
            <div>选择图片:</div>
            <input type="file" class="form-control" name="Photo5" placeholder="展示图片" value=""  >
        </td>
        <td class="center" >
            <div>选择图片:</div>
            <input type="file" class="form-control" name="Photo6" placeholder="展示图片" value=""  >
        </td>
    </tr>
    <tr>
        <th class="center" style="line-height:30px;">门店关键字</th>
        <td class="center" colspan="6"><input type="text" class="form-control" name="storeKey" placeholder="商品关键字,如:XX店" value=""  ></td>
    </tr>
    <tr>
        <th colspan="7">门店展示</th>
    </tr>
    <tr>
        <td  colspan="7">
            <script id="storeSc" name="storeSc" type="text/plain" style="width:100%;height:300px;margin:0 auto;">
            </script>
            <!-- 配置文件 -->
            <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
            <!-- 编辑器源码文件 -->
            <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
            <!--实例化编辑器-->
            <script type="text/Javascript">    
            var editor = UE.getEditor('storeSc',{    
                toolbars:[["forecolor","fontsize","rowspacingtop","lineheight","imagenone","imageleft","imageright","imagecenter","insertimage","simpleupload",]],    
            });    
            </script>  
        </td>
    </tr>
    <tr>
        <th colspan="7">菜品展示
        </th>
    </tr>
    <tr>
        <td  colspan="7">
            <script id="storeCc" name="storeCc" type="text/plain" style="width:100%;height:300px;margin:0 auto;">
            </script>
            <!-- 配置文件 -->
<!--             <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
            编辑器源码文件
            <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script> -->
            <!--实例化编辑器-->
            <script type="text/Javascript">    
            var editor = UE.getEditor('storeCc',{    
                toolbars:[["forecolor","fontsize","rowspacingtop","lineheight","imagenone","imageleft","imageright","imagecenter","insertimage","simpleupload",]],    
            });    
            </script>  
        </td>
    </tr>
    <tr>
        <th colspan="6">
            <button type="submit" class="btn btn-success submit-add" style="width:50%;margin:0 auto;display: block;">确认添加</button>
        </th>
    </tr>
</table>
</form>

</body>
<script type="text/javascript">
    function fiel(e)
    {
        $(e).next().click();
    }
</script>